import request from '@/utils/request.js'
// 外协片-根据垛号或存货标签读取外协裁片存货列表（出库）
export const getForeignCuttingStockByID = (params) => {
  return request.post('ProductManager/KCClient/GetForeignCuttingStockByID', params)
}
// 公共接口-搜索外协单位客户列表
export const getForeignCustomerListBySpell = (params) => {
  return request.post('ProductManager/KCClient/GetForeignCustomerListBySpell', params)
}
// 外协片-读取外协片出库登记列表
export const getForeignCuttingRegister = (params) => {
  return request.post('ProductManager/KCClient/GetForeignCuttingRegister', params)
}
// 外协片-读取外协片出入库登记明细
export const getForeignCuttingDetail = (params) => {
  return request.post('ProductManager/KCClient/GetForeignCuttingDetail', params)
}
// 外协片-总仓到外协库调拨记账(出库)
export const saveForeignCuttingOutStock = (params) => {
  return request.post('ProductManager/KCClient/SaveForeignCuttingOutStock', params)
}
// 外协片-根据登记单据读取出库登记标签
export const getForeignCuttingRegisterByDesign = (params) => {
  return request.post('ProductManager/KCClient/GetForeignCuttingRegisterByDesign', params)
}
// 外协片-外协库到总仓调拨记账（入库）
export const saveForeignCuttingInStock = (params) => {
  return request.post('ProductManager/KCClient/SaveForeignCuttingInStock', params)
}
// 外协片-根据外协单位读取外协片出入库登记
export const getForeignCuttingRegisterByCustomer = (params) => {
  return request.post('ProductManager/KCClient/GetForeignCuttingRegisterByCustomer', params)
}
// 外协片-读取外协片出入库登记明细(选择)
export const getForeignCuttingInDetailByFlnkID = (params) => {
  return request.post('ProductManager/KCClient/GetForeignCuttingInDetailByFlnkID', params)
}
